import request from '@/utils/request'

export function saveData(data) {
    return request({
        url: 'dsApi/save',
        method: 'post',
        data: data,
    })
}

export function getData(username,currentDay){
    return request({
        url: 'dsApi/getData',
        method: 'post',
        data: {
            username,
            currentDay
        },
    })

}